package cn.iocoder.an.module.mold.controller.admin.warehouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 模具仓库新增/修改 Request VO")
@Data
public class WarehouseSaveReqVO {

    @Schema(description = "仓库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29037")
    private Long id;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "类型id不能为空")
    private Long type;

    @Schema(description = "备注", example = "你猜")
    private String description;

}